//  

#region

using Microsoft.Practices.Composite.Events;
using Microsoft.Practices.Composite.Regions;
using Microsoft.Practices.ServiceLocation;

#endregion

namespace pushbomb.composite.core.Infrastructure
{
    public class FrameworkServiceProvider : IFrameworkServiceProvider
    {
        #region IFrameworkServiceProvider Members

        public IRegionManager RegionManager
        {
            get { return ServiceLocator.Current.GetInstance<IRegionManager>(); }
        }


        public IEventAggregator EventAggregator
        {
            get { return ServiceLocator.Current.GetInstance<IEventAggregator>(); }
        }

 
        #endregion
    }
}